package com.cictec.middleware.distribute.rabbitmq;

import java.util.Map;

import org.springframework.amqp.rabbit.annotation.RabbitHandler;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

import com.alibaba.fastjson.JSON;

@Component
@RabbitListener(queues = "topic.gps")
public class TopicReceiver {

    @RabbitHandler
    public void process(String message) {
//    	Map data = JSON.parseObject(message, Map.class);
//        System.out.println("Topic Receiver1  : " + data);
    }

}
